home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************************
- ** $Id: qpixmapcache.h,v 2.5 1998/07/03 00:09:37 hanord Exp $
- **
- ** Definition of QPixmapCache class
- **
- ** Created : 950501
- **
- ** Copyright (C) 1992-1998 Troll Tech AS. All rights reserved.
- **
- ** This file is part of Qt Free Edition, version 1.40.
- **
- ** See the file LICENSE included in the distribution for the usage
- ** and distribution terms, or http://www.troll.no/free-license.html.
- **
- ** IMPORTANT NOTE: You may NOT copy this file or any part of it into
- ** your own programs or libraries.
- **
- ** Please see http://www.troll.no/pricing.html for information about
- ** Qt Professional Edition, which is this same library but with a
- ** license which allows creation of commercial/proprietary software.
- **
- *****************************************************************************/
-
- #ifndef QPIXMAPCACHE_H
- #define QPIXMAPCACHE_H
-
- #ifndef QT_H
- #include "qpixmap.h"
- #endif // QT_H
-
-
- class QPixmapCache // global pixmap cache
- {
- public:
- static int cacheLimit();
- static void setCacheLimit( int );
- static QPixmap *find( const char *key );
- static bool find( const char *key, QPixmap& );
- static bool insert( const char *key, QPixmap * );
- static void insert( const char *key, const QPixmap& );
- static void clear();
- };
-
-
- #endif // QPIXMAPCACHE_H
-